import { instance } from "../utils/requestNewEnergyShip";
export const baseaAPI='/api/green'; //正式
//export const baseaAPI='';//测试
//能源类型统计
export const getShipPropulsiveTypeStatistics = () => {
    return instance({
        url: `${baseaAPI}/enegy/ship/propulsiveType/statistics`,
        method: 'get',
    })
}
//船舶类型统计
export const getShipTypeStatistics = () => {
    return instance({
        url: `${baseaAPI}/enegy/ship/type/statistics`,
        method: 'get',
    })
}

//新能源船籍港统计
export const getShipAreaStatistics = () => {
    return instance({
        url: `${baseaAPI}/enegy/ship/area/statistics`,
        method: 'get',
    })
}


